import 'package:flutter/material.dart';
import 'package:movie_app_demo/constants.dart';
import 'categories.dart';
import 'genres.dart';

import 'movie_carousel.dart';

class Body extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
      physics: BouncingScrollPhysics(),
      child: Column(
        children: <Widget>[
          CategoryList(),//分类列表
          Genres(),//标签
          SizedBox(height: kDefaultPadding),
          MovieCarousel(),//电影海报
        ],
      ),
    );
  }
}
